Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds getPaymentMethods, saveInvoice, getTags, getSevUsers, getContactAddresses, getStaticCountries, getParts #2

Closed
wants to merge 10 commits into from

Conversation

jondewoo
Copy link
Contributor

No description provided.

@jondewoo jondewoo changed the title Adds getPaymentMethods & saveInvoice Adds getPaymentMethods, saveInvoice & getTags Dec 12, 2024
@jondewoo jondewoo changed the title Adds getPaymentMethods, saveInvoice & getTags Adds getPaymentMethods, saveInvoice, getTags, getSevUsers, getContactAddresses Dec 19, 2024
@jondewoo jondewoo changed the title Adds getPaymentMethods, saveInvoice, getTags, getSevUsers, getContactAddresses Adds getPaymentMethods, saveInvoice, getTags, getSevUsers, getContactAddresses, getStaticCountries Dec 19, 2024
@jondewoo jondewoo mentioned this pull request Dec 19, 2024
@jondewoo jondewoo changed the title Adds getPaymentMethods, saveInvoice, getTags, getSevUsers, getContactAddresses, getStaticCountries Adds getPaymentMethods, saveInvoice, getTags, getSevUsers, getContactAddresses, getStaticCountries, getParts Dec 19, 2024
@jondewoo
Copy link
Contributor Author

jondewoo commented Jan 6, 2025

Hey @jhnns and @meaku, can I do anything to improve this PR and push it through the finish line?
Thanks!

@jhnns
Copy link
Member

jhnns commented Jan 6, 2025

Awesome! Going to review it this week. Sorry for the delay :)

Copy link
Member

@jhnns jhnns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thank you for contributing new methods :)
The code itself looks good. You stick to the existing conventions 👍
Also thank you for adding tests ❤️

Unfortunately, we can't execute mutations in our CI system because we don't have a dedicated test system for SevDesk :(. We have the same problem with the addDocument() method.

Until we have a dedicated test system, these tests need to be skipped and can only be executed in manual tests. I tried to change your PR but it seems like I can't push changes to your main branch. Better create dedicated PR branches in your fork next time 😁

That's why I created a follow-up PR with your commits and my changes: #3

@jhnns jhnns closed this Jan 9, 2025
@@ -63,7 +70,7 @@ export class SevDeskClient {
throw error;
}
if (response.ok === false || error) {
const message = error?.message ?? body?.error?.message;
const message = error?.message ?? body?.error?.message ?? body.message;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seriously? 😁 They also return just {"message": "..."}?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants